Optimal. Leaf size=39 \[ a \log (x)+\frac {1}{6} i b \text {PolyLog}\left (2,-i c x^3\right )-\frac {1}{6} i b \text {PolyLog}\left (2,i c x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {4944, 4940,
2438} \begin {gather*} a \log (x)+\frac {1}{6} i b \text {Li}_2\left (-i c x^3\right )-\frac {1}{6} i b \text {Li}_2\left (i c x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2438
Rule 4940
Rule 4944
Rubi steps
\begin {align*} \int \frac {a+b \tan ^{-1}\left (c x^3\right )}{x} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {a+b \tan ^{-1}(c x)}{x} \, dx,x,x^3\right )\\ &=a \log (x)+\frac {1}{6} (i b) \text {Subst}\left (\int \frac {\log (1-i c x)}{x} \, dx,x,x^3\right )-\frac {1}{6} (i b) \text {Subst}\left (\int \frac {\log (1+i c x)}{x} \, dx,x,x^3\right )\\ &=a \log (x)+\frac {1}{6} i b \text {Li}_2\left (-i c x^3\right )-\frac {1}{6} i b \text {Li}_2\left (i c x^3\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 39, normalized size = 1.00 \begin {gather*} a \log (x)+\frac {1}{6} i b \text {PolyLog}\left (2,-i c x^3\right )-\frac {1}{6} i b \text {PolyLog}\left (2,i c x^3\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.04, size = 63, normalized size = 1.62
method | result | size |
default | \(a \ln \left (x \right )+b \ln \left (x \right ) \arctan \left (c \,x^{3}\right )-\frac {b \left (\munderset {\textit {\_R1} =\RootOf \left (c^{2} \textit {\_Z}^{6}+1\right )}{\sum }\frac {\ln \left (x \right ) \ln \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )}{\textit {\_R1}^{3}}\right )}{2 c}\) | \(63\) |
risch | \(-\frac {i \left (\munderset {\textit {\_R1} =\RootOf \left (c \,\textit {\_Z}^{3}+\RootOf \left (\textit {\_Z}^{2}+1, \mathit {index} =1\right )\right )}{\sum }\left (\ln \left (x \right ) \ln \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )\right )\right ) b}{2}+\frac {i \ln \left (x \right ) \ln \left (-i c \,x^{3}+1\right ) b}{2}+a \ln \left (x \right )+\frac {i \left (\munderset {\textit {\_R1} =\RootOf \left (c \,\textit {\_Z}^{3}-\RootOf \left (\textit {\_Z}^{2}+1, \mathit {index} =1\right )\right )}{\sum }\left (\ln \left (x \right ) \ln \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )+\dilog \left (\frac {\textit {\_R1} -x}{\textit {\_R1}}\right )\right )\right ) b}{2}-\frac {i \ln \left (x \right ) \ln \left (i c \,x^{3}+1\right ) b}{2}\) | \(134\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {atan}{\left (c x^{3} \right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.35, size = 32, normalized size = 0.82 \begin {gather*} a\,\ln \left (x\right )-\frac {b\,\left ({\mathrm {Li}}_{\mathrm {2}}\left (1-c\,x^3\,1{}\mathrm {i}\right )-{\mathrm {Li}}_{\mathrm {2}}\left (1{}\mathrm {i}\,c\,x^3+1\right )\right )\,1{}\mathrm {i}}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________